package com.gqz.defect.mapstruct;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.gqz.defect.entity.TEnDefectsSheetRelEntity;
import com.gqz.defect.vo.EnDefectsSheetRelVo;
import org.mapstruct.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper(componentModel = "spring", imports = {})
@Component
public interface EnDefectsSheetRelMapstruct {

    EnDefectsSheetRelVo toVo(TEnDefectsSheetRelEntity entity);

    List<EnDefectsSheetRelVo> toVos(List<TEnDefectsSheetRelEntity> entity);

    Page<EnDefectsSheetRelVo> toVos(Page<TEnDefectsSheetRelEntity> entity);

    TEnDefectsSheetRelEntity toEntity(EnDefectsSheetRelVo vo);

    List<TEnDefectsSheetRelEntity> toEntitys(List<EnDefectsSheetRelVo> vos);


}
